@extends('blog.master')

@section('content')	
<div class="container-fluid">

  <form class="form-horizontal" method="post" action="/blog/{{$value->id}}">
       <input type="hidden" name="_token" value="cDiYXYXv2ZBwe495qHESxS0eluEv34205ICSUgXv">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">标题</label>
    <div class="col-sm-8">
      <input type="title" value="{{$value->title}}" name="title" class="form-control" id="title" name="title">
    </div>
  </div>
  {{ method_field('PATCH') }}
  {{csrf_field()}}
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">内容</label>
    <div class="col-sm-8">
       <textarea class="form-control" name="content" rows="5" id="content" name="content"></textarea>
    </div>
  </div>
   
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">修改文章</button>
    </div>
  </div>
</form>

</div>
@endsection